/*
 * @Author: lili
 * @Description:  分类接口
 */

import axios from './api';

// 分类首页
export let getCategory = () =>{
    return axios.get('/api/cate');
}

// 分类列表
export let getCateList = (title, sort, page) =>{
    return axios.get(`/api/cate-list?title=${title}&sort=${sort}&page=${page}`);
}







